import request from "../axios";

export default {
	// 添加员工档案
	addEmployeeProfile(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/addEmployeeProfile',
			data: params
		})
	},
	// 修改员工档案
	updateEmployeeProfile(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/updateEmployeeProfile',
			data: params
		})
	},
	// 获取员工档案列表
	getEmployeeProfileList(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/getEmployeeProfileList',
			data: params
		})
	},
	// 获取单个员工档案
	getEmployeeProfile(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/getEmployeeProfile',
			data: params
		})
	},
	// 获取员工缓存档案
	getEmployeeProfileCache(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/getEmployeeProfileCache',
			data: params
		})
	},
	// 审核员工档案
	examineProfile(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/examineProfile',
			data: params
		})
	},
	// 删除员工档案
	deleteEmployeeProfile(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/deleteEmployeeProfile',
			data: params
		})
	},
	// 获取已有档案的用户id列表
	getProfileIdList(params) {
		return request({
			method: "POST",
			url: '/employeeProfile/getProfileIdList',
			data: params
		})
	},
}